package com.qf.day02;

public class zy02 {
    public static void main(String[] args) {
        for (int i = 2; i < 1000; i++) {
            boolean t = true;
            for (int j = 2; j < i; j++) {
                if(i%j==0){
                    t = false;
                    break;
                }
            }
            if(t){
                System.out.println(i);
            }
        }
    }
}
